import { get, post } from './request.js';
export function getShopingCart(params) {
    return get('v1/shoppingcart/get', params);
}
export function editShopingCart(data) {
    return post('v1/shoppingcart/updatecartitem',data);
}
export function deleteShopingCart(data) {
    //post /api/v{version}/shoppingcart/removecartitem
    return post('v1/shoppingcart/removecartitem?id='+data.id);
}
export function createOrderInCart(data) {
    return post('v1/checkout/submit',data);
}